UCF STIG Viewer Logo

The  Photon operating system YUM repository must cryptographically verify the authenticity of all software packages during installation.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256532 PHTN-30-000061 SV-256532r887270_rule Medium
Description
Installation of any nontrusted software, patches, service packs, device drivers, or operating system components can significantly affect the overall security of the operating system. Cryptographically verifying the authenticity of all software packages during installation ensures the software has not been tampered with and has been provided by a trusted vendor.
STIG Date
VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide 2023-12-01

Details

Check Text ( C-60207r887268_chk )
At the command line, run the following command:

# grep gpgcheck /etc/yum.repos.d/*

If "gpgcheck" is not set to "1" in any returned file, this is a finding.
Fix Text (F-60150r887269_fix)
Open the file where "gpgcheck" is not set to "1" with a text editor.

Remove any existing "gpgcheck" setting and add the following line at the end of the file:

gpgcheck=1